package com.steamedfish.auctioncloudadserver.entiry;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 高山福
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("auction_item")
@ApiModel(value="AuctionItemEntity对象", description="")
public class AuctionItemEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "拍卖品id")
    private String id;

    @ApiModelProperty(value = "所属用户的id")
    private String userId;

    @ApiModelProperty(value = "拍卖品名字")
    private String name;

    @ApiModelProperty(value = "拍卖品文字描述")
    private String description;

    @ApiModelProperty(value = "最低价")
    private BigDecimal lowerPrice;

    @ApiModelProperty(value = "指定加价区间")
    private BigDecimal priceStep;

    @ApiModelProperty(value = "最高价：可以不用设置")
    private BigDecimal upPrice;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "拍卖开始时间")
    private LocalDateTime auctionTime;

    @ApiModelProperty(value = "拍卖结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "商品状态：0-正在拍卖，1-已拍卖，2-等待拍卖")
    private String status;

    @ApiModelProperty(value = "指定拍卖类别：0-英式拍卖，1-一口价")
    private String auctionType;

    @ApiModelProperty(value = "用于查询图片的id")
    private String itemImageId;

    @ApiModelProperty(value = "逻辑删除字段：0表示未被删除，1表示删除")
    private String deleted;


}
